//
//  ImageWithSingleLineTextCellData.h
//  18Birdies
//
//  Created by James Chen on 15/12/29.
//  Copyright © 2015年 Lc. All rights reserved.
//

#import "LcCellData.h"

@interface ImageWithSingleLineTextCellData : LcCellData

@property(nonatomic, strong, readonly) UIImage* image;
@property(nonatomic, copy, readonly) NSString* text;
@property(nonatomic, assign, readonly) BOOL isShowArrow;
@property(nonatomic, assign) BOOL isShowRedHint;

+ (instancetype)cellDataWithImage:(UIImage*)image text:(NSString*)text;
+ (instancetype)cellDataWithImage:(UIImage*)image
                             text:(NSString*)text
                        showArrow:(BOOL)isShowArrow
            andOnCellClickHandler:(OnCellClickedHanlder)onCellClickHandler;

@property(nonatomic, copy, readonly) NSAttributedString* attributedText;
+ (instancetype)cellDataWithImage:(UIImage*)image
                   attributedText:(NSAttributedString*)attributedText
                        showArrow:(BOOL)isShowArrow
            andOnCellClickHandler:(OnCellClickedHanlder)onCellClickHandler;

@end
